
<!doctype html>
<html lang="en">
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width">

	<title>Class Opencart\System\Engine\Loader | OpenCart API API</title>
	<link rel="stylesheet" href="http://localhost\opencart-master/docs/api/assets/main.css">
	<script src="http://localhost\opencart-master/docs/api/assets/main.js" defer></script>
</head>

<body class="layout">
	<div class="layout-aside">
	<div class="menu">
			<div class="menu-section">
				<h3>Namespaces</h3>
	<ul>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.html">Opencart</a>
	<ul>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.Admin.html">Admin</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.Catalog.html">Catalog</a>
			</li>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.html">System</a>
	<ul>
			<li class="menuGroup-item active">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Engine.html">Engine</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Helper.html">Helper</a>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Library.html">Library</a>
			</li>
	</ul>
			</li>
	</ul>
			</li>
			<li class="menuGroup-item">
				<a href="http://localhost\opencart-master/docs/api/namespace-none.html">none</a>
			</li>
	</ul>
			</div>

		<div class="menu-section">
			<h3>Classes</h3>
			<ul>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Action.html">
							Action
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Autoloader.html">
							Autoloader
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Config.html">
							Config
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Controller.html">
							Controller
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Event.html">
							Event
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Factory.html">
							Factory
						</a>
					</li>
					<li class="active">
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Loader.html">
							Loader
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Model.html">
							Model
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Proxy.html">
							Proxy
						</a>
					</li>
					<li>
						<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Registry.html">
							Registry
						</a>
					</li>
			</ul>
		</div>
	</div>
	</div>

	<div class="layout-main">
		<div class="layout-navbar">
	<nav class="navbar">
		<div class="navbar-left">
			<ul class="navbar-links">
				<li>
					<a href="http://localhost\opencart-master/docs/api/index.html">Overview</a>
				</li>
				<li>
					
						<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Engine.html">Namespace</a>
					
				</li>
<li class="active"><a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Loader.html">Class</a></li>				<li>
					<a href="http://localhost\opencart-master/docs/api/tree.html">Tree</a>
				</li>
			</ul>
		</div>
		<div class="navbar-right">
	<div class="search" data-elements="http://localhost\opencart-master/docs/api/assets/elements.js">
		<input class="search-input" placeholder="Search class, function or namespace" autofocus>
		<ul class="search-results"></ul>
	</div>
		</div>
	</nav>
		</div>

		<div class="layout-content">
		<h1>
			Class <a href="http://localhost\opencart-master/docs/api/namespace-Opencart.html">Opencart</a>\<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.html">System</a>\<a href="http://localhost\opencart-master/docs/api/namespace-Opencart.System.Engine.html">Engine</a>\<a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Loader.html">Loader</a>
		</h1>


	<table class="classLikeSignatureTable">




	</table>
		<div class="classLikeDescription">
	<div class="description"><p>Class Loader</p>
</div>
		</div>


		<div class="classLikeSection">
			<b>Located at</b> <a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#17" title="Go to source code">system\engine\loader.php</a><br>
		</div>



		<table class="table" id="methods">
			<tr>
				<th class="table-heading sortable" colspan="3" title="Switch between natural and alphabetical order">Methods</th>
			</tr>

	<tr class="expandable collapsed" data-order="__construct" id="___construct">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#23-30" title="Go to source code">__construct</a>(<span><a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Registry.html"><span title="Opencart\System\Engine\Registry">Registry</span></a> <var>$registry</var></span>)</code>


	<div class="expandable-collapsedView">
		<p>Constructor</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Constructor</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#___construct">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="__get" id="___get">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#32-43" title="Go to source code">__get</a>(<span>string <var>$key</var></span>): object</code>


	<div class="expandable-collapsedView">
		<p>__get <a href="https://www.php.net/manual/en/language.oop5.overloading.php#object.get">https://www.php.net/manual/en/language.oop5.overloading.php#object.get</a></p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>__get <a href="https://www.php.net/manual/en/language.oop5.overloading.php#object.get">https://www.php.net/manual/en/language.oop5.overloading.php#object.get</a></p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#___get">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="__set" id="___set">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#45-57" title="Go to source code">__set</a>(<span>string <var>$key</var></span>, <span>object <var>$value</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>__set <a href="https://www.php.net/manual/en/language.oop5.overloading.php#object.set">https://www.php.net/manual/en/language.oop5.overloading.php#object.set</a></p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>__set <a href="https://www.php.net/manual/en/language.oop5.overloading.php#object.set">https://www.php.net/manual/en/language.oop5.overloading.php#object.set</a></p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#___set">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="controller" id="_controller">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#59-98" title="Go to source code">controller</a>(<span>string <var>$route</var></span>, <span>mixed ...<var>$args</var></span>): mixed</code>


	<div class="expandable-collapsedView">
		<p>Controller <a href="https://wiki.php.net/rfc/variadics">https://wiki.php.net/rfc/variadics</a></p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Controller <a href="https://wiki.php.net/rfc/variadics">https://wiki.php.net/rfc/variadics</a></p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_controller">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="model" id="_model">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#100-174" title="Go to source code">model</a>(<span>string <var>$route</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>Model</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Model</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_model">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="view" id="_view">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#176-207" title="Go to source code">view</a>(<span>string <var>$route</var></span>, <span>array&lt;string, mixed&gt; <var>$data</var> = []</span>, <span>string <var>$code</var> = <span class="php-str">''</span></span>): string</code>


	<div class="expandable-collapsedView">
		<p>View Loads the template file and generates the html code.</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>View Loads the template file and generates the html code.</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_view">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="language" id="_language">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#209-233" title="Go to source code">language</a>(<span>string <var>$route</var></span>, <span>string <var>$prefix</var> = <span class="php-str">''</span></span>, <span>string <var>$code</var> = <span class="php-str">''</span></span>): array&lt;string, string&gt;</code>


	<div class="expandable-collapsedView">
		<p>Language</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Language</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_language">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="library" id="_library">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#235-261" title="Go to source code">library</a>(<span>string <var>$route</var></span>, <span>array&lt;mixed&gt; &amp;...<var>$args</var></span>): object</code>


	<div class="expandable-collapsedView">
		<p>Library</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Library</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_library">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="config" id="_config">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#263-285" title="Go to source code">config</a>(<span>string <var>$route</var></span>): array&lt;string, string&gt;</code>


	<div class="expandable-collapsedView">
		<p>Config</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Config</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_config">#</a>
		</td>
	</tr>
	<tr class="expandable collapsed" data-order="helper" id="_helper">
			<td class="table-cell table-shrink">
				<code class="nowrap">
					
	public
					
					
				</code>
			</td>

			<td class="table-cell">
				<code><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#287-312" title="Go to source code">helper</a>(<span>string <var>$route</var></span>): void</code>


	<div class="expandable-collapsedView">
		<p>Helper</p>

	</div>

	<div class="expandable-expandedView">
	<div class="description"><p>Helper</p>
</div>




	</div>
			</td>
		<td class="table-anchor">
			<a href="#_helper">#</a>
		</td>
	</tr>
		</table>






		<table class="table" id="properties">
			<tr>
				<th class="table-heading sortable" colspan="4" title="Switch between natural and alphabetical order">Properties</th>
			</tr>

	<tr class="expandable collapsed" data-order="registry" id="$registry">
			<td class="table-cell table-shrink">
				<code class="nowrap">
	protected
					
					
				</code>
			</td>

			<td class="table-cell table-shrink">
				<code class="nowrap"><a href="http://localhost\opencart-master/docs/api/Opencart.System.Engine.Registry.html"><span title="Opencart\System\Engine\Registry">Registry</span></a></code>
			</td>

			<td class="table-cell">
<code><var><a href="http://localhost\opencart-master/docs/api/source-system.engine.loader.html#18-21" title="Go to source code">$registry</a></var></code>
				

	<div class="expandable-expandedView">
	</div>
			</td>
		<td class="table-anchor">
			<a href="#$registry">#</a>
		</td>
	</tr>
		</table>


		</div>

		<div class="layout-footer">
			OpenCart API API documentation generated by <a href="https://www.apigen.org">ApiGen dev-master</a>
		</div>
	</div>

	<div class="layout-rest">
		<div class="navbar"></div>
	</div>
</body>
</html>
